package jindu.zzh.gj.jinduriddle.riddle.entity;

import java.io.Serializable;

/**
 * create by ZhongZihao on 2019/1/23
 */
public class QuestionBean implements Serializable {
    String question;     //问题
    String choice1;     //选项1
    String choice2;     //选项2
    String answer;      //答案

    public QuestionBean() {
    }

    public QuestionBean(String question, String choice1, String choice2, String answer) {
        this.question = question;
        this.choice1 = choice1;
        this.choice2 = choice2;
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "QuestionBean{" +
                "question='" + question + '\'' +
                ", choice1='" + choice1 + '\'' +
                ", choice2='" + choice2 + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getChoice1() {
        return choice1;
    }

    public void setChoice1(String choice1) {
        this.choice1 = choice1;
    }

    public String getChoice2() {
        return choice2;
    }

    public void setChoice2(String choice2) {
        this.choice2 = choice2;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }
}
